package com.lzm.ydpt.module.riding.activity;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.amap.api.maps2d.MapView;
import com.byt.framlib.base.BaseActivity;
import com.byt.framlib.basemvp.BasePresenter;
import com.byt.framlib.commonwidget.onclicktwo.AntiShake;
import com.lzm.ydpt.R;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 接单详情
 */
public class RidingOrderDetailActivity extends BaseActivity {
    @BindView(R.id.mv_order_addrss_map)
    MapView mv_order_addrss_map;
    @BindView(R.id.tv_price_symol)
    TextView tv_price_symol;
    @BindView(R.id.tv_price_num)
    TextView tv_price_num;
    @BindView(R.id.tv_fa_time)
    TextView tv_fa_time;
    @BindView(R.id.tv_order_mail_info)
    TextView tv_order_mail_info;
    @BindView(R.id.tv_order_mail_address)
    TextView tv_order_mail_address;
    @BindView(R.id.tv_fa_order_distance)
    TextView tv_fa_order_distance;

    @BindView(R.id.tv_order_delivery_info)
    TextView tv_order_delivery_info;
    @BindView(R.id.tv_order_delivery_address)
    TextView tv_order_delivery_address;
    @BindView(R.id.tv_song_order_distance)
    TextView tv_song_order_distance;
    @BindView(R.id.tv_order_detail_goods)
    TextView tv_order_detail_goods;
    @BindView(R.id.tv_order_detail_qu_time)
    TextView tv_order_detail_qu_time;
    @BindView(R.id.tv_order_detail_remark)
    TextView tv_order_detail_remark;

    @BindView(R.id.img_sign_order_detail)
    ImageView img_sign_order_detail;
    @BindView(R.id.tv_show_order_code)
    TextView tv_show_order_code;
    @BindView(R.id.tv_save_per_address)
    TextView tv_save_per_address;

    @Override
    public int getLayoutId() {
        return R.layout.activity_order_details;
    }

    @Override
    public BasePresenter initPreData() {
        return null;
    }

    @Override
    public void initView() {

    }

    @OnClick({R.id.ll_show_riding_state, R.id.image_right_order, R.id.tv_save_per_address})
    public void onClick(View view) {
        if (AntiShake.check(view.getId())) {
            return;
        }
        switch (view.getId()) {
            case R.id.ll_show_riding_state:
                finish();
                break;
            case R.id.image_right_order:
                openActivity(ContactUserActivity.class);
                break;
            case R.id.tv_save_per_address:
                showShortToast("收货");
                break;
        }

    }
}
